<%@page import="com.techopropio.bfh.model.Solicitud"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
            <title></title>
            <meta name="description" content="">
                <meta name="keywords" content="">
                    <link href="views/css/style.css" rel="stylesheet" type="text/css">
                        </head>
                        <body>
                            <%
                                Solicitud solicitud = (Solicitud) session.getAttribute("solicitud");

                            %>

                            <jsp:include page="header.jsp" flush="true"  />


                            <table border="0" cellpadding="0" cellspacing="0" align="center">
                                <tr>
                                    <td><img src="views/images/menu_left.gif" width="7" height="40" border="0" alt=""></td>

                                    <td width="635" style="background: url(views/images/menu_bg.gif)">


                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>


                                                <td><img src="views/images/menu_line.gif" width="2" height="29" border="0" alt="" hspace="50"></td>			
                                                <td><div class="aw"></div> <div class="mw"><a class="aw">SISTEMA DE GESTI&Oacute;N PARA ASIGNACI&Oacute;N DEL BONO FAMILIAR HABITACIONAL</a></div></td>
                                                <td><img src="views/images/menu_line.gif" width="" height="29" border="0" alt="" hspace="13"></td>


                                            </tr>
                                        </table>

                                    </td>
                                    <td><img src="views/images/menu_right.gif" width="6" height="40" border="0" alt=""></td>
                                </tr>
                            </table>
                            <div><img src="views/images/spacer.gif" width="1" height="7" border="0" alt=""></div>



                            <table border="0" cellpadding="0" cellspacing="0" align="center">
                                <tr>


                                    <td><img src="views/images/spacer.gif" width="4" height="1" border="0" alt=""></td>
                                    <td valign="top">

                                        <div><img src="views/images/spacer.gif" width="1" height="3" border="0" alt=""></div>
                                        <table border="0" cellpadding="0" cellspacing="0"  style="background: url(views/images/left_bg.gif)">
                                            <tr>
                                                <td><img src="views/images/left_left.gif" width="21" height="29" border="0" alt=""></td>
                                                <td><img src="views/images/spacer.gif" width="7" height="1" border="0" alt=""></td>
                                                <td width="350"><div class="lb"></div> <div class="lw">DETALLES DE LA SOLICITUD ENVIADA</div></td>
                                                <td><img src="views/images/left_right.gif" width="6" height="29" border="0" alt=""></td>
                                            </tr>
                                        </table>
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td style="background: url(views/images/c_left.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                                                <td width="635" align="center">
                                                    <div><img src="views/images/spacer.gif" width="1" height="12" border="0" alt=""></div>

                                                    <table border="0" cellpadding="0" cellspacing="0">
                                                        <tr>


                                                        </tr>
                                                        <tr>
                                                            <td style="background: url(views/images/bg_hor.gif) repeat-x center"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                                                            <td><img src="views/images/spacer.gif" width="1" height="19" border="0" alt=""></td>
                                                            <td style="background: url(views/images/bg_hor.gif) repeat-x center"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                                                        </tr>
                                                        <tr>

                                                        </tr>
                                                    </table>


                                                    <table width="436" border="1" align="center">
                                                        <tr>
                                                            <td width="233"> <a class="item_price"> Estado de Solicitud :</a></td>
                                                            <td width="187"><a class="item_name" ><%=solicitud.getEstado()%></a></td>
                                                        </tr>
                                                        <tr>
                                                            <td> <a class="item_price"> Observaciones : </a></td>
                                                            <td><a class="item_name" > <%=solicitud.getObservaciones().size() > 0 ? "Si" : "No"%> </a></td>
                                                        </tr>

                                                    </table>
                                                    <div><img src="views/images/spacer.gif" width="1" height="14" border="0" alt=""></div>

                                                    <table width="436" border="0" align="center">
                                                        <tr>
                                                            <td><a class="item_name" >Observaciones Encontradas</a></td>
                                                        </tr>

                                                        <tr>
                                                            <td height="105" bgcolor="#93D3FF">
                                                                <%
                                                                    for (int i = 0; i < solicitud.getObservaciones().size(); i++) {
                                                                %>
                                                                <span><%=solicitud.getObservaciones().get(i).getDetalle()%></span>
                                                                <%
                                                                    }
                                                                %>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <div><img src="views/images/spacer.gif" width="1" height="14" border="0" alt=""></div>
                                                    <table width="257" border="0" align="center">
                                                        <tr>
                                                            <td width="124"><img src="views/images/reporte.png" width="185" height="24" longdesc="http://#"></td>
                                                            <td width="102"><img src="views/images/salir.png" width="90" height="24" longdesc="http://#"></td>
                                                        </tr>
                                                    </table>

                                                    <div><img src="views/images/spacer.gif" width="1" height="14" border="0" alt=""></div>
                                                </td>
                                                <td style="background: url(views/images/c_right.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                                            </tr>
                                            <tr>
                                                <td><img src="views/images/c4.gif" width="5" height="5" border="0" alt=""></td>
                                                <td style="background: url(views/images/c_bot.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                                                <td><img src="views/images/c3.gif" width="5" height="5" border="0" alt=""></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>


                            <jsp:include page="footer.jsp" flush="true"  />


                        </body>
                        </html>